<%--== Handlers ==--%> <%--see_my_items_for_sell Opening Initialization directive @1-A0E75F14--%><%!

// //Workaround for JRun 3.1 @1-F81417CB

//ITEM Grid Handler Head @2-53BDB4A2
    public class see_my_items_for_sellITEMGridHandler implements GridListener, GridDataObjectListener {
//End ITEM Grid Handler Head

//ITEM BeforeShow Method Head @2-46046458
        public void beforeShow(Event e) {
//End ITEM BeforeShow Method Head

//ITEM BeforeShow Method Tail @2-FCB6E20C
        }
//End ITEM BeforeShow Method Tail

//ITEM BeforeShowRow Method Head @2-BDFD38FC
        public void beforeShowRow(Event e) {
//End ITEM BeforeShowRow Method Head

//ITEM BeforeShowRow Method Tail @2-FCB6E20C
        }
//End ITEM BeforeShowRow Method Tail

//ITEM BeforeSelect Method Head @2-E5EC9AD3
        public void beforeSelect(Event e) {
//End ITEM BeforeSelect Method Head

//ITEM BeforeSelect Method Tail @2-FCB6E20C
        }
//End ITEM BeforeSelect Method Tail

//ITEM BeforeBuildSelect Method Head @2-3041BA14
        public void beforeBuildSelect(DataObjectEvent e) {
//End ITEM BeforeBuildSelect Method Head

//ITEM Default Values for Select Query (SQL) @2-554DF917
            try {
                ((SqlParameter)e.getParameter("USER_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
//End ITEM Default Values for Select Query (SQL)

//ITEM BeforeBuildSelect Method Tail @2-FCB6E20C
        }
//End ITEM BeforeBuildSelect Method Tail

//ITEM BeforeExecuteSelect Method Head @2-8391D9D6
        public void beforeExecuteSelect(DataObjectEvent e) {
//End ITEM BeforeExecuteSelect Method Head

//ITEM BeforeExecuteSelect Method Tail @2-FCB6E20C
        }
//End ITEM BeforeExecuteSelect Method Tail

//ITEM AfterExecuteSelect Method Head @2-0972E7FA
        public void afterExecuteSelect(DataObjectEvent e) {
//End ITEM AfterExecuteSelect Method Head

//ITEM AfterExecuteSelect Method Tail @2-FCB6E20C
        }
//End ITEM AfterExecuteSelect Method Tail

//ITEM Grid Handler Tail @2-FCB6E20C
    }
//End ITEM Grid Handler Tail

//ITEM_TotalRecords Label Handler Head @3-1A35DB82
    public class ITEMITEM_TotalRecordsLabelHandler implements ControlListener {
        public void beforeShow(Event e) {
//End ITEM_TotalRecords Label Handler Head

//Event BeforeShow Action Retrieve number of records @4-9D59B397
        ((Control) e.getSource()).setValue( ((Grid) e.getParent()).getAmountOfRows());
//End Event BeforeShow Action Retrieve number of records

//ITEM_TotalRecords Label Handler Tail @3-F5FC18C5
        }
    }
//End ITEM_TotalRecords Label Handler Tail

//Comment workaround @1-A0AAE532
%> <%
//End Comment workaround

//Processing @1-AFB2A804
    Page see_my_items_for_sellModel = (Page)request.getAttribute("see_my_items_for_sell_page");
    Page see_my_items_for_sellParent = (Page)request.getAttribute("see_my_items_for_sellParent");
    if (see_my_items_for_sellModel == null) {
        PageController see_my_items_for_sellCntr = new PageController(request, response, application, "/see_my_items_for_sell.xml", "ISO-8859-1" );
        see_my_items_for_sellModel = see_my_items_for_sellCntr.getPage();
        //if (see_my_items_for_sellParent != null) {
            //if (!see_my_items_for_sellParent.getChild(see_my_items_for_sellModel.getName()).isVisible()) return;
        //}
    ((Grid)see_my_items_for_sellModel.getChild("ITEM")).addGridListener(new see_my_items_for_sellITEMGridHandler());
    ((Label)((Component)see_my_items_for_sellModel.getChild("ITEM")).getChild("ITEM_TotalRecords")).addControlListener(new ITEMITEM_TotalRecordsLabelHandler());
        see_my_items_for_sellCntr.process();
%>
<%
        if (see_my_items_for_sellParent == null) {
            if (see_my_items_for_sellModel.redirect()) return;
            see_my_items_for_sellModel.setCookies();
        } else {
            see_my_items_for_sellModel.redirect();
        }
    }
//End Processing

%>
